//
//  newListableViewCell.m
//  idoctor
//
//  Created by Mr Lee on 2017/6/1.
//  Copyright © 2017年 Mr Lee. All rights reserved.
//

#import "newListableViewCell.h"


@implementation newListableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
  
}

-(void)setModel:(newsModel *)model
{

    _model = model;
    
    _titleL.text = model.title;
    
    [_imageV sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://tnfs.tngou.net/image%@",model.img]] placeholderImage:[UIImage imageNamed:@"占位图"]];
    
    _timeL.text = [NSString stringWithFormat:@"时间:%@",[tools interceptTimeStampFromStr:model.time]];
    
}

@end
